import java.awt.Color;


public class T extends Piece{
	public T(Grid gr,TetrisGame game){
		super(gr,game);
		color=Color.ORANGE;
		name="T";
	}
	
	public void fillBlocks(){
		blocks.add(new Block(color,gr,new Location(gr.getWidth()/2-2,0,gr)));
		blocks.add(new Block(color,gr,new Location(gr.getWidth()/2-1,0,gr)));
		blocks.add(new Block(color,gr,new Location(gr.getWidth()/2,0,gr)));
		blocks.add(new Block(color,gr,new Location(gr.getWidth()/2-1,1,gr)));
	}

}
